import {type ComponentConfigModel} from 'epic-designer'

// @ts-ignore
export default {
    component: async () => await import('./index.vue'),
    groupName:"自定义组件",
    icon: "epic-icon-write",
    defaultSchema: {
        label: '指标单选组件',
        type: 'kpiRadio',
        componentProps: {
        }
    },
    config: {
        attribute: [
            {
                label: '字段名',
                type: 'input',
                field: 'name'
            },
            {
                label: '上传地址',
                type: 'input',
                field: 'fileUploadUrl'
            }
        ]
    }
} as ComponentConfigModel